package com.aistar.service;

import com.aistar.pojo.Member;
import com.aistar.util.JsonResult;

import java.util.List;

public interface RegistService {
        //添加用户
        public boolean save(Member member);

        //删除用户
        public boolean deleteById(Integer userId);

        //根据主键查询
        public Member selectById(Integer userId);

        //根据手机号查询
        public JsonResult selectByPhone(Long userTel);

        //登陆根据手机号和密码
        public JsonResult loginByTelno(Long userTel, String userPassword);
}
